package com.itheima.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
import org.springframework.context.annotation.PropertySource;

// 主配置类
@Configuration
@ComponentScan("com.itheima")  // 扫包
@PropertySource("classpath:jdbc.properties")  // 读取jdbc配置文件创建 连接池
@Import({
        JDBCConfig.class,
        MybatisConfig.class
})
public class SpringConfiguration {

}
